<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>新增或修改</title>
    <style>
        div{
            position: absolute;
            left: 400px;
            top: 150px;
            border: 2px solid black;
            width: 320px;
            height: 290px;
            text-align: center;
        }
        table{
            width: 320px;
            height: 170px;
        }
    </style>
</head>
<body>
    <div>
    <h1>新增或修改博客</h1>
    <table>
        <tr hidden>
            <td>id:</td>
            <td><input type="text" name="id"></td>
        </tr>
        <tr>
            <td>标题:</td>
            <td><input type="text" name="tite"></td>
        </tr>
        <tr>
            <td>摘要:</td>
            <td><input type="text" name="imports"></td>
        </tr>
        <tr>
            <td>内容:</td>
            <td><input type="text" name="text"></td>
        </tr>
        <tr>
            <td>分类:</td>
            <td><input type="text" name="cat"></td>
        </tr>
        <tr>
            <td>作者:</td>
            <td><input type="text" name="atou"></td>
        </tr>
        <tr>
            <td>发表时间:</td>
            <td><input type="text" name="time"></td>
        </tr>
        <tr>
            <td><input type="button" value="保存" onclick="save()"></td>
            <td><input type="button" value="取消" onclick="cancel()"></td>
        </tr>
    </table>
</div>
</body>
<script src="./jquery-3.6.0.min.js"></script>
<script src="./addorendit.js"></script>
</html>